package com.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.server.pojo.Admin;
import com.server.pojo.ResponseBean;
import jakarta.servlet.http.HttpServletRequest;

/**
 *
 * @author SongHL
 * @since 2025-09-13
 */
public interface IAdminService extends IService<Admin> {

    //登录之后返回token
    ResponseBean login(String username, String password, HttpServletRequest request);

    //根据用户名获取用户
    com.server.pojo.Admin getAdminByUsername(String username);
}
